Integrand size = 25, antiderivative size = 187 \[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\frac {2 x^{3/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}-\frac {3464 \sqrt {x} (2+3 x)}{27 \sqrt {2+5 x+3 x^2}}+\frac {4 \sqrt {x} (715+866 x)}{9 \sqrt {2+5 x+3 x^2}}+\frac {3464 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\arctan \left (\sqrt {x}\right )|-\frac {1}{2}\right )}{27 \sqrt {2+5 x+3 x^2}}-\frac {1430 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} \operatorname {EllipticF}\left (\arctan \left (\sqrt {x}\right ),-\frac {1}{2}\right )}{9 \sqrt {2+5 x+3 x^2}} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 187, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {832, 834, 853, 1203, 1114, 1150} \[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=-\frac {1430 \sqrt {2} (x+1) \sqrt {\frac {3 x+2}{x+1}} \operatorname {EllipticF}\left (\arctan \left (\sqrt {x}\right ),-\frac {1}{2}\right )}{9 \sqrt {3 x^2+5 x+2}}+\frac {3464 \sqrt {2} (x+1) \sqrt {\frac {3 x+2}{x+1}} E\left (\arctan \left (\sqrt {x}\right )|-\frac {1}{2}\right )}{27 \sqrt {3 x^2+5 x+2}}-\frac {3464 (3 x+2) \sqrt {x}}{27 \sqrt {3 x^2+5 x+2}}+\frac {4 (866 x+715) \sqrt {x}}{9 \sqrt {3 x^2+5 x+2}}+\frac {2 (95 x+74) x^{3/2}}{9 \left (3 x^2+5 x+2\right )^{3/2}} \]
[In]
[Out]
Rule 832
Rule 834
Rule 853
Rule 1114
Rule 1150
Rule 1203
Rubi steps \begin{align*} \text {integral}& = \frac {2 x^{3/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}+\frac {2}{9} \int \frac {\sqrt {x} (-111+40 x)}{\left (2+5 x+3 x^2\right )^{3/2}} \, dx \\ & = \frac {2 x^{3/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}+\frac {4 \sqrt {x} (715+866 x)}{9 \sqrt {2+5 x+3 x^2}}-\frac {4}{9} \int \frac {\frac {715}{2}+433 x}{\sqrt {x} \sqrt {2+5 x+3 x^2}} \, dx \\ & = \frac {2 x^{3/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}+\frac {4 \sqrt {x} (715+866 x)}{9 \sqrt {2+5 x+3 x^2}}-\frac {8}{9} \text {Subst}\left (\int \frac {\frac {715}{2}+433 x^2}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right ) \\ & = \frac {2 x^{3/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}+\frac {4 \sqrt {x} (715+866 x)}{9 \sqrt {2+5 x+3 x^2}}-\frac {2860}{9} \text {Subst}\left (\int \frac {1}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )-\frac {3464}{9} \text {Subst}\left (\int \frac {x^2}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right ) \\ & = \frac {2 x^{3/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}-\frac {3464 \sqrt {x} (2+3 x)}{27 \sqrt {2+5 x+3 x^2}}+\frac {4 \sqrt {x} (715+866 x)}{9 \sqrt {2+5 x+3 x^2}}+\frac {3464 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{27 \sqrt {2+5 x+3 x^2}}-\frac {1430 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} F\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{9 \sqrt {2+5 x+3 x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 21.21 (sec) , antiderivative size = 167, normalized size of antiderivative = 0.89 \[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\frac {-2 \left (6928+26060 x+32020 x^2+12825 x^3\right )-3464 i \sqrt {2+\frac {2}{x}} \sqrt {3+\frac {2}{x}} x^{3/2} \left (2+5 x+3 x^2\right ) E\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right )|\frac {3}{2}\right )-826 i \sqrt {2+\frac {2}{x}} \sqrt {3+\frac {2}{x}} x^{3/2} \left (2+5 x+3 x^2\right ) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right ),\frac {3}{2}\right )}{27 \sqrt {x} \left (2+5 x+3 x^2\right )^{3/2}} \]
[In]
[Out]
Time = 0.21 (sec) , antiderivative size = 214, normalized size of antiderivative = 1.14
method | result | size |
elliptic | \(\frac {\sqrt {x \left (3 x^{2}+5 x +2\right )}\, \left (\frac {\left (-\frac {380}{243}-\frac {506 x}{243}\right ) \sqrt {3 x^{3}+5 x^{2}+2 x}}{\left (x^{2}+\frac {5}{3} x +\frac {2}{3}\right )^{2}}-\frac {2 x \left (-\frac {4385}{81}-\frac {1732 x}{27}\right ) \sqrt {3}}{\sqrt {x \left (x^{2}+\frac {5}{3} x +\frac {2}{3}\right )}}-\frac {1430 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {-6 x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{27 \sqrt {3 x^{3}+5 x^{2}+2 x}}-\frac {1732 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {-6 x}\, \left (\frac {E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{3}-F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )\right )}{27 \sqrt {3 x^{3}+5 x^{2}+2 x}}\right )}{\sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}\) | \(214\) |
default | \(\frac {2 \left (1359 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x^{2}-2598 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x^{2}+2265 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x -4330 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x +906 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )-1732 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )+46764 x^{4}+117405 x^{3}+96192 x^{2}+25740 x \right ) \sqrt {3 x^{2}+5 x +2}}{81 \sqrt {x}\, \left (2+3 x \right )^{2} \left (1+x \right )^{2}}\) | \(297\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.10 (sec) , antiderivative size = 122, normalized size of antiderivative = 0.65 \[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=-\frac {2 \, {\left (4210 \, \sqrt {3} {\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )} {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right ) - 15588 \, \sqrt {3} {\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )} {\rm weierstrassZeta}\left (\frac {28}{27}, \frac {80}{729}, {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right )\right ) - 27 \, {\left (5196 \, x^{3} + 13045 \, x^{2} + 10688 \, x + 2860\right )} \sqrt {3 \, x^{2} + 5 \, x + 2} \sqrt {x}\right )}}{243 \, {\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\int { -\frac {{\left (5 \, x - 2\right )} x^{\frac {5}{2}}}{{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\int { -\frac {{\left (5 \, x - 2\right )} x^{\frac {5}{2}}}{{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(2-5 x) x^{5/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=-\int \frac {x^{5/2}\,\left (5\,x-2\right )}{{\left (3\,x^2+5\,x+2\right )}^{5/2}} \,d x \]
[In]
[Out]